import { reactive } from "vue";
import type { FormRules } from "element-plus";

/** 自定义表单规则校验 */
export const formRules = reactive(<FormRules>{
  company_name: [{ required: true, message: "公司名称为必填项", trigger: "blur" }],
  name: [{ required: true, message: "法定代表人为必填项", trigger: "blur" }],
  phone: [{ required: true, message: "联系电话为必填项", trigger: "blur" }],
});
